From: Florian Müllner Date: Fri, 5 Jul 2013 23:35:58 +0000 (+0200) Subject: style: Fix focused app view controls X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3969 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c17f84ca23445d9640ff7cf178e14a792afd9332;p=gnome-shell.git style: Fix focused app view controls Moving from fixed width to horizontal padding for the app view control buttons broke the focus style, in that buttons may change size on keyboard focus changes. Fix this by using the correct horizontal padding when focused. https://bugzilla.gnome.org/show_bug.cgi?id=703807 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 765894ae4..a2278c5fa 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -327,10 +327,6 @@ StScrollBar StButton#vhandle:active { border-width: 2px; } -.app-view-control:focus { - padding: 3px; -} - .app-view-control:first-child:ltr:focus, .app-view-control:last-child:rtl:focus { border-right-width: 1px; @@ -911,6 +907,11 @@ StScrollBar StButton#vhandle:active { padding: 4px 32px; } +.app-view-control:focus { + padding: 3px 31px; +} + + .search-display > StBoxLayout, .all-apps > StBoxLayout, .frequent-apps > StBoxLayout {